<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>用户登录</title>
    <style>
        *{
            font-size: 30px;
        }
        #box{
            display: flex;
            justify-content: center;
        }
        #sub{
            width: 120px;
            height: 45px;
            background-color: #ff9500;
        }
    </style>
</head>
<body>
    <div id="box">
        <form action="login.php" method="post" id="text">
            <h1>登录</h1>
            <p>账号：<input type="text" name="username" id="" value="" size="10" maxlength="10" placeholder="输入用户名" /></p>
            <p>密码：<input type="password" name="password" id="" value="" maxlength="10" size="10"  placeholder="输入密码" /></p>
            <input type="submit" name="b1" id="sub" value="登录" onclick="" />
        </form>
    </div>
</body>
</html>